#ifndef __HEAD__
#define __HEAD__
typedef struct train_s{
    int dataLength;
    char buf[1000];
}train_t;
int recvFile(char *argv, int sockFd);
int recvn(int netFd, void *p, int n);
// int upload(char *argv,int sockFd);
int cd(int sockFd);
int ls(int sockFd);
int pwd(int sockFd);
int rm(int sockFd);
int makedir(int sockFd);
int upload(char *argv, int sockFd);
int removedir(int sockFd);
#endif